import request from '@/utils/request'
const prefix = '/ap/net'

export class DnnConfigApi {
    //DNN信息获取
    static reqGetDnnInfo() {
        return request({
            url:`${prefix}/dnn_get`,
            method:'post',
        })
    }

    //DNN信息设置
    static reqSetDnnInfo(data:any) {
        return request({
            url:`${prefix}/dnn_set`,
            method:'post',
            data
        })
    }

    //DNN信息删除
    static reqDeleteDnnInfo(data:any) {
        return request({
            url:`${prefix}/dnn_del`,
            method:'post',
            data
        })
    }

    // 获取dnn网络速率
    static reqGetDnnNetSpeed(data:any) {
        return request({
            url:`${prefix}/host_speed_get`,
            method:'post',
            data
        })
    }
}
